﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
 
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>男装专区</title>
    <link rel="stylesheet" type="text/css" href="<%=path %>/statics/css/loaders.min.css"/>
    <link rel="stylesheet" type="text/css" href="<%=path %>/statics/css/loading.css"/>
    <link rel="stylesheet" type="text/css" href="<%=path %>/statics/css/base.css"/>
    <link rel="stylesheet" type="text/css" href="<%=path %>/statics/css/style.css"/>
      <script src="<%=path %>/statics/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript">
    	$(window).load(function(){
    		$(".loading").addClass("loader-chanage")
    		$(".loading").fadeOut(300)
    	})
    </script>
</head>
<!--loading页开始-->
<div class="loading">
	<div class="loader">
        <div class="loader-inner pacman">
          <div></div>
          <div></div>
          <div></div>
          <div></div>
          <div></div>
        </div>
	</div>
</div>
<!--loading页结束-->
<body>
	<header class="top-header fixed-header">
		<a class="icona" href="javascript:history.go(-1)">
				<img src="<%=path %>/statics/images/left.png"/>
			</a>
		<h3>待评价</h3>
			<a class="iconb" href="shopcar.html">
			</a>
	</header>
	
	<div class="contaniner fixed-conta">
		<section class="order">
		<c:forEach items="${list}" var="oder">
			<dl>
				<dt>
					<time>${oder.order.createTime }</time>
					<span>已收货</span>
				</dt>
				<ul>
					<a href="detail.html">
						<figure><img src="<%=path %>/statics/files/${oder.products.fileName}"/></figure>
						<li>
							<p>${oder.products.description}</p>
							<small>颜色：${oder.color }</small>
							<span>尺寸：${oder.size }</span>
							<b>￥${oder.products.price }</b>
							<strong>×${oder.quantity }</strong>
						</li>
					</a>
				</ul>
				<dd>
					<h3>商品总额</h3>
					<i>￥${oder.cost }</i>
				</dd>
				<dd>
					<a href="<%=path%>/comments/assess.html?pid=${oder.productId}&orderid=${oder.id}&fileName=${oder.products.fileName}" ><input type="button" value="去评价" class="order-que"/></a>
				</dd>
			</dl>
			</c:forEach>
		</section>
	</div>
	
	
	
	

</body>
</html>